#ifndef  CLIB_TCP_FSM_H
#define  CLIB_TCP_FSM_H

#pragma once

#ifdef __cplusplus
extern "C" {
#endif

#include "clib_stack_netif.h"
#include "clib_queue.h"
#include "clib_type.h"
#include "clib_tcp_buffer.h"
#include "clib_ip.h"
#include "clib_stack.h"
#include "clib_tcp_misc.h"

i32_t 
clib_tcp_process_ipv4_packet(stack_ctx_t* ctx, stack_netif_t* netif,ip4_hdr_t* ipv4,i32_t ip_len,u64_t cur_ts);

i32_t 
clib_tcp_process_ipv6_packet(stack_ctx_t* ctx, stack_netif_t* netif,ip6_hdr_t* ipv6,i32_t ip_len,u64_t cur_ts);

#ifdef __cplusplus
}
#endif

#endif